// jsondatafetcher.h

#ifndef JSONDATAFETCHER_H
#define JSONDATAFETCHER_H

#include <QObject>
#include <QNetworkAccessManager>

class JsonDataFetcher : public QObject
{
    Q_OBJECT

public:
    JsonDataFetcher();

private slots:
    void onNetworkReply(QNetworkReply *reply);

private:
    void fetchDataFromServer();

    QNetworkAccessManager *networkManager;
};

#endif // JSONDATAFETCHER_H
